package com.k3cloud.core.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface K3SettingMapper {
    List<Map<String,Object>> getOptions(@Param("code") String code,@Param("k3cloud") String k3cloud);
    List<Map<String,Object>> getInTreeMap(@Param("code") String code,@Param("k3cloud") String k3cloud);
    List<Map<String,Object>> getOutTreeMap(@Param("code") String code,@Param("k3cloud") String k3cloud);
    List<Map<String, Object>> getOptionsByPlmCodeAndK3cloudFormId(@Param("plmCode") String code,
                                                                  @Param("k3cloudFormId") String k3cloud);

    List<Map<String, Object>> getExecutionTypeByPlmCodeAndK3cloudFormId(@Param("plmCode") String code,
                                                                        @Param("k3cloudFormId") String k3cloudFormId);

    List<Map<String, Object>> getInTreeMapByPlmCodeAndK3cloudFormId(@Param("plmCode") String code,
                                                                    @Param("k3cloudFormId") String k3cloudFormId);

    List<Map<String, Object>> getOutTreeMapByPlmCodeAndK3cloudFormId(@Param("plmCode") String code,
                                                                     @Param("k3cloudFormId") String k3cloudFormId);

}
